package com.itttq.kb.model.po;

import java.util.Date;

import com.itttq.kb.common.annotation.Column;
import com.itttq.kb.common.annotation.Column.ColumnType;
import com.itttq.kb.common.annotation.Table;

/** 主题分类表 **/

@Table(name="kb_topic_category")
public class TopicCategoryPo extends BasePo {
	private static final long serialVersionUID = -31189094998913590L;
	/* 创建时间 */
	@Column(name="create_time", inInsert=false, inUpdate=false)
	private Date createTime;
	/* 创建人ID */
	@Column(name="creator_id",type=ColumnType.NUMBER)
	private Long creatorId;
	/*  显示顺序，倒序显示。1为显示在最后。此顺序相同的则以更新时间倒序显示 */
	@Column(name="display_order",type=ColumnType.NUMBER)
	private Integer displayOrder;
	/* 显示图标 */
	@Column(name="icon")
	private String icon;
	
	@Column(name="id", inInsert=false, inUpdate=false, inSelect=false,type=ColumnType.NUMBER)
	private Integer id;
	/* 分类名称 */
	@Column(name="name")
	private String name;
	/* 所属父类ID */
	@Column(name="parent_id",type=ColumnType.NUMBER)
	private Integer parentId;
	/* 所属父类名称 */
	@Column(name="parent_name")
	private String parentName;
	/* 分类摘要 */
	@Column(name="summary")
	private String summary;
	/* 数据更新时间 */
	@Column(name="update_time", inInsert=false, inUpdate=false)
	private Date updateTime;
	/* 更新人ID */
	@Column(name="updater_id",type=ColumnType.NUMBER)
	private Long updaterId;
	
	
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	
	public Long getCreatorId() {
		return creatorId;
	}
	public void setCreatorId(Long creatorId) {
		this.creatorId = creatorId;
	}
	
	public Integer getDisplayOrder() {
		return displayOrder;
	}
	public void setDisplayOrder(Integer displayOrder) {
		this.displayOrder = displayOrder;
	}
	
	public String getIcon() {
		return icon;
	}
	public void setIcon(String icon) {
		this.icon = icon;
	}
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	public Integer getParentId() {
		return parentId;
	}
	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}
	
	public String getParentName() {
		return parentName;
	}
	public void setParentName(String parentName) {
		this.parentName = parentName;
	}
	
	public String getSummary() {
		return summary;
	}
	public void setSummary(String summary) {
		this.summary = summary;
	}
	
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	
	public Long getUpdaterId() {
		return updaterId;
	}
	public void setUpdaterId(Long updaterId) {
		this.updaterId = updaterId;
	}
	
}